home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Resources
/
Burning & Media
/
GB-PVR 1.2.13
/
GBPVR10213.msi
/
Cabs.w1.cab
/
Ajax.js493
< prev
next >
Wrap
Text File
|
2008-02-23
|
632b
|
33 lines
var intervalID;
var intervalReminderID;
function GetServerTime()
{
intervalID = setInterval("RunTime();",5000);
}
function RunTime()
{
gbweb.classes.Ajax_Calls.GetServerTime(CallbackFunc);
}
function CallbackFunc(value)
{
document.getElementById("timeDiv").innerHTML="Server Time: " + value;
}
function GetReminders()
{
intervalReminderID = setInterval("GetReminder();",6000);
}
function GetReminder()
{
gbweb.classes.Ajax_Calls.GetReminders(CallbackReminderFunc);
}
function CallbackReminderFunc(value)
{
document.getElementById("REMINDER_DIV").innerHTML = value;
}